About ITK Example database
--------------------------

This example shows how to use Internet ToolKit with 4D's language.

The main procedures are:
- SMTP_SendMsg (allows you to send email message directly within 4D),
- POP3_CheckMail (to check for received mail on a mail server using 
  POP3 protocol),
- FTP_Send and FTP_Get (to send or receive a file using FTP),
- HTTP_Server (a basic HTTP server).

You can also check the routine called "The Examples" which contains a
more complete list of the routines found in the ITK Example database.


More examples: the ITK ACME Demo
--------------------------------
More examples are available on ITK's FTP  (ftp://ftp.internet-toolkit.com/pub/itk/) like the ITK ACME Demo.

The ITK ACME Demo is an optimized HTTP server implementation with dynamic database data integration in HTML pages, user authentication, etc



More infos about the HTTP example:
----------------------------------
When you open this database, you will be asked if you want to launch
the HTTP server.
Documents served by the HTTP Server example are located in the
"WebFolder" folder located near the "ITK Examples" structure file.
You can add your how HTML, GIF, JPEG documents in this folder or
subfolders.

The "default" document for a specific folder is named "default.html".
You can use aliases if you want.

This example uses 2 external routines:
- GetFInfo, which is use to get the file type, data length of documents
  and modification date.
- ResolveAlias, which is used to resolve folder and file aliases,

WARNING: Be careful with aliases, if you put remote volume aliases, the
AppleShare login dialog can show up and stop the server until you
manually log !!!

Feel free to reuse these examples.

To test this HTTP server example, just launch your favorite Web browser
and get the following URL:

http://yourmachine/   <- replace 'yourmachine' with your machine's IP
address or name (you can use the loopback address, ie: 127.0.0.1).

This example homepage have some links to  other examples like the
WebChecker...


More infos about the WebChecker example:
----------------------------------------
The WebChecker is an example of 4D capabilities when combined with ITK's
Internet features.
The WebChecker allows you to check HTML links recursively to find the
bad links in you HTML documents. The WebChecker is a part of the basic
HTTP example described above.

You just have to specify the starting URL and the limit you want so that
the WebChecker will not check the all Web.

Feel free to modify the WebChecker to fit your needs, but don't forget
that this is just an example...


More infos about the dynamic graphics demos:
--------------------------------------------
Another example shows what ITK picture routine can do when combined with
4D Chart.
To test this example, you must have 4D Chart or 4D Chart Demo installed
in the Mac4DX folder.

There are three examples:
- the "browsersdemo.gif" example is a pie chart that shows which browsers
  are most frequently used to access it (see the http_chartdemo procedure),
- the "chartdemo.gif" example, if a randomly generated chart (see the
  http_chartdemo procedure),
- the "chartmaker" example, can be used to put inlined chart in any HTML
  document with parameters and values passed in the URL (see the
  http_chartmaker procedure).


Other examples...
-----------------

A couple of other examples are available on ITK's Web or FTP site:

- ITK ACME Demo: this example is a more sophisticated HTTP server which
  includes dynamic database serving,



For more infos about Internet ToolKit: <http://www.internet-toolkit.com/>
and <mailto:itk@internet-toolkit.com>
